package com.zymail.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dorado
 * @since 2021-04-12
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName(resultMap = "BaseResultMap")
public class ZyGoodImg implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 商品图片id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    private Integer goodId;

    /**
     * 商品图片url
     */
    private String url;

    /**
     * 图片类型
     */
    private Integer type;

}
